package example01;

public class CylinderTest {
    public static void main(String[] args) {

        Cylinder cylinder = new Cylinder();
        cylinder.setR(5);
        cylinder.setHeight(10);

        double s = cylinder.findVolume();
        System.out.println("圆柱的体积：" + s);

    }
}
